package cn.com.my.yes1;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class LogTest {
	
	Logger log = Logger.getLogger(LogTest.class);
	
	public LogTest(){
		log.warn("yes yes yes ---");
	}
	
	public static void main(String[] args) {
		PropertyConfigurator.configure(ClassLoader.getSystemResource("log4j.properties"));
		LogTest o = new LogTest();
	}

}
